<template>
<view>
<text class="tag">{{label}}</text>
</view>
</template>
<script lang='ts'>
import { Component, Vue,Prop } from 'vue-property-decorator'

@Component
export default class Tag extends Vue {
    @Prop()
    label:string;
}
</script>
<style lang='scss' scoped>
@include b(tag) {
  background: $main-light-color;
  color: #fff;
  display: inline-block;
  padding: 1px 2px;
  margin-right: 5px;
}
</style>